//
//  PanPopupViewController.m
//  CreditHub
//
//  Created by chenglang on 2024/9/20.
//

#import "PanPopupViewController.h"

@interface PanPopupViewController ()

@end

@implementation PanPopupViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
}
- (IBAction)clickOK:(id)sender {
    __weak typeof(self) weakself= self;
    [self dismissViewControllerAnimated:YES completion:^{
        if(weakself.okblock){
            weakself.okblock();
        }
    }];
}
- (IBAction)clickCancel:(id)sender {
    [self dismissViewControllerAnimated:YES completion:nil];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
